{include file="header.html"}
<div id="rightTop">
    <p>活动</p>
    <ul class="subnav">
        <li><span>{$lang.manage}</span></li>        
    </ul>
</div>
<div class="mrightTop">
    <div class="fontl">
        <form method="get">
            <div class="left">
                <input type="hidden" name="app" value="weibo" />
                <input type="hidden" name="act" value="index" />
                {$lang.title}:
                <input class="queryInput" type="text" name="title" value="{$query.title|escape}" />
                                  用户:<input class="queryInput" type="text" name="user" value="{$query.user|escape}" />
               
                <input type="submit" class="formbtn" value="{$lang.query}" />
            </div>
            <!--{if $filtered}-->
            <a class="left formbtn1" href="index.php?app=weibo">{$lang.cancel_query}</a>
            <!--{/if}-->
        </form>
    </div>
    <div class="fontr">
        {include file=page.top.html}
    </div>
    <div class="clear:both;"></div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $weibolist}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
            <td align="left">{$lang.title}</td>
              <td>用户</td>
            <td>添加时间</td>
            <td>分享数</td>
            <td>回复数</td>
            <td>关注数</td> 
        <td>是否系统推荐</td> 
          <td>{$lang.handler}</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$weibolist item=article}-->
        <tr class="tatr2">
            <td class="firstCell"> <input type="checkbox" class="checkitem" value="{$article.wei_id}"/></td>
            <td>{$article.title|escape}</td>
             <td><a href="index.php?app=user&act=edit&id={$article.user_id}">{$article.user_name|escape}</a></td>           
            <td>{$article.pubdate|date:complete}</td>
            <td>{$article.sharenum|escape}</td>
            <td>{$article.replaynum|escape}</td>
            <td>{$article.follownum|escape}</td>
           
            <td >              
            <!-- {if $article.rec} -->
            是
            <img src="{res file=style/images/positive_enabled.gif}" ectype="inline_edit" fieldname="rec" fieldid="{$article.wei_id}" fieldvalue="1" title="{$lang.editable}" style="display: none"/>
            <!--{else}-->
            否
            <img src="{res file=style/images/positive_disabled.gif}" ectype="inline_edit" fieldname="rec" fieldid="{$article.wei_id}" fieldvalue="0" title="{$lang.editable}" style="display: none"/>
            <!-- {/if} -->
            
             </td>
            <td>
            
            <a href="index.php?app=weibo&amp;act=view&amp;id={$article.wei_id}">查看</a>|
             <a href="index.php?app=weibo&amp;act=edit&amp;id={$article.wei_id}">推荐</a>|              
                <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=weibo&amp;act=drop&amp;id={$article.wei_id}');">{$lang.drop}</a></td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="7">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $weibolist}-->
    <div id="dataFuncs">
        <div class="pageLinks">
            {include file=page.bottom.html}
        </div>
        <div id="batchAction" class="left paddingT15">
            &nbsp;&nbsp;
            <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=weibo&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
            &nbsp;&nbsp;
            <!--<input class="formbtn batchButton" type="button" value="lang.update_order" name="id" presubmit="updateOrder(this);" />-->
        </div>
        <div class="clear:both;"></div>
    </div>
    <div class="clear"></div>
    <!--{/if}-->
</div>
{include file="footer.html"}
